﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading.Tasks;

namespace OOPProperty
{
    internal class Player
    {
        public Player(uint money) { Money = money; } //构造方法
        public uint Money 
        {  get;
           private set;
        }
        public  void AddMoney(uint money)
        {
            Money += money;
        }
    }

    
}
